package com.dxy.df.core.model;

import com.dxy.df.constants.ConstNumbers;
import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

@Setter
@Getter
@ApiModel
@NoArgsConstructor
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
public class BasicEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "标记，说明")
    private String remark;

    @ApiModelProperty(value = "状态，8有效，9无效")
    private Integer recordStatus = ConstNumbers.OK;

    @ApiModelProperty(value = "创建时间")
    private Date createTime = new Date();

    @ApiModelProperty(value = "创建人")
//    private String createBy = "崔晓锋";
    private String createBy ="崔晓锋" ;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime = new Date();

    @ApiModelProperty(value = "修改人")
//    private String updateBy ="崔晓锋";
    private String updateBy ="崔晓锋";



   
}
